package com.jianbo.proxy.conf.jsconfig;

import java.util.Map;

import com.jianbo.proxy.conf.ConfBuilder;

public class StaticWebConf {
    
    private static StaticWebConf instance;
    public static StaticWebConf getInstance() {
        if(instance == null) {
            instance = ConfBuilder.getStaticWebConf();
        }
        return instance;
    }
    
    private Map<String, String> staticPath;
    private Map<String, String> originalPath;

    public Map<String, String> getOriginalPath() {
        return originalPath;
    }

    /**
     * key: 请求路径
     * value: 资源路径
     * @param staticPath
     */
    public void setStaticPath(Map<String, String> staticPath) {
        this.staticPath = staticPath;
    }

    public void setOriginalPath(Map<String, String> originalPath) {
        this.originalPath = originalPath;
    }

    public Map<String, String> getStaticPath() {
        return staticPath;
    }
}
